﻿using B.S.BasicData.Domain.Entities;
using B.S.BasicData.Error;
using B.S.BasicData.Read.Api.DTO;
using MediatR;

namespace B.S.BasicData.Read.Api.Application.Command.ProductsCommand
{
    public class ProductsQueryCommand : IRequest<ApiPaging<ProductsDTO>>
    {
        /// <summary>
        /// 当前页
        /// </summary>
        public int PageIndex { get; set; } = 1;
        /// <summary>
        /// 每页多少条
        /// </summary>
        public int PageSize { get; set; } 
        /// <summary>
        /// 商品名称
        /// </summary>
        public string? ShopName { get; set; }
    }
}
